package fc.sj.study.kotlinStudy

/**
 * Created by Fengchao on 2017/7/1.
 */
class MyfirstDemo (str:String) {

    var mName: String =str

    constructor(personage: Int ,str: String):this(str){
        println("name:"+str)
        println("age:"+personage)
    }

    fun main(args: Array<String>) {
        Person("Fengchao").printName()
    }
}

